package net.minecraft.src;

public class mod_elementalMagic extends BaseMod
{
		// This is the ID thing and stuff, I made the ID 160 because ArrayOutOfBoundsException occured when I made it 257/256.
		public static final Block MysticLog = new BlockMysticLog(160, 0).setBlockName("MysticLog").setHardness(2F).setLightValue(0.3F);
		// Corrupt Log, ID 162 because 161 will be for the mystic leaves.
		public static final Block CorruptLog = new BlockCorruptLog(162, 0).setBlockName("CorruptLog").setHardness(4F);
	
        public mod_elementalMagic()
        {
        	// My mystic log block thing
			ModLoader.registerBlock(MysticLog);
			//MysticLog.blockIndexInTexture = ModLoader.addOverride();
			ModLoader.addName(MysticLog, "Mystic Log");
			
			// Corrupt Log
			ModLoader.registerBlock(CorruptLog);
			//CorruptLog.blockIndexInTexture = ModLoader.addOverride();
			ModLoader.addName(CorruptLog, "Corrupted Log");
			
			// Debug recipe for the Mystic Log
			ModLoader.addRecipe(new ItemStack(MysticLog, 64), new Object[]
			{
				"X", Character.valueOf('X'), Block.dirt,
			});
			
			// Debug recipe for the Corrupted Log
			ModLoader.addRecipe(new ItemStack(CorruptLog, 64), new Object[]
			{
				"XX", Character.valueOf('X'), Block.dirt,
			});
        }

        public String Version()
        {
            return "1.2.5";
        }
        
		public String getVersion()
		{
			return "1.2.5";
		}
		
		public void load()
		{
			
		}
}